<template>
  <div>
    <el-result icon="error" title="404" subTitle="您请求的页面不存在">
      <template slot="extra">
        <el-button type="primary" @click="returnHome" size="medium">返回首页</el-button>
      </template>
    </el-result>
  </div>
</template>

<script>
export default {
  name: "404",
  methods: {
    returnHome() {
      this.$router.push({name: 'home'})
    }
  }
}
</script>

<style scoped>

</style>
